<include file='Common:header'/>
</head>
<body>
<include file='Common:nav'/>
<div id="wrap">
	<div class="container" id="page-main">
		<div class="row">
			<div class='col-xs-12 col-sm-6 col-md-8'>
				<div class='box'>
					<div class='cell'>
						<span class="chevron">&nbsp;›&nbsp;</span> 注册
					</div>
					<div class='inner'>
						<form id="form_act" accept-charset="UTF-8" action="{:U('runRegis')}"  class="form-horizontal" 
							  id="form_act" method="post" novalidate="novalidate">
							<div class="form-group">
								<label class="col-sm-3 control-label" for="uname">用户名</label>
								<div class="col-sm-6">
									<input autofocus="autofocus" class="form-control"
										id="uname" name="uname" size="50" type="text"
										value=""/>
								</div>
								<span class="help-inline red">*</span>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label" for="user_password">密码</label>
								<div class="col-sm-6">
									<input class="form-control" id="pwd" name="pwd"
										size="50" type="password" value="" />
								</div>
								 <span class="help-inline red">*</span>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label" for="email">电子邮件</label>
								<div class="col-sm-6">
									<input class="form-control" id="email" name="email"
										size="50" type="email"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label" for="nickname">
									昵称
								</label>
								<div class="col-sm-6">
									<input class="form-control" id="nickname" name="nickname" size="50">
								</div>
							</div>
							<div class='form-group'>
								<div class="col-sm-offset-3 col-sm-2">
									<span id="submit_form" class="btn btn-success">注册</span>
								</div>

							</div>
						</form>

						</div>
					</div>

				</div>
				<div class='col-xs-12 col-sm-6 col-md-4' id='Rightbar'>
					<div class="box">
						<div class="cell">注册说明</div>
						<div class="inner">
						  <h5>1、登录名和密码是必填项</h5>
						  <h5>2、邮箱可用于找回密码，建议填写</h5>
						  <h5>3、输入昵称，则用户信息使用昵称，否则使用用户名;昵称可以修改，用户名不能修改</h5>
						  <h5>4、输入完成后，点击回车即可提交</h5>
						  <h5>5、注册成功后会自动登录并转向首页</h5>
						</div>
					</div>
				</div>
			</div>
			<include file='Common:footer'/>
		</div>
	</div>
	<script>
		var checkUname = "{:U('checkUnique','cName=uname')}";
		var checkEmail = "{:U('checkUnique','cName=email')}";
		var checkNickname = "{:U('checkUnique','cName=nickname')}";
	</script>
	<include file='Common:inc_js'/>
	<script type="text/javascript" src="__PUBLIC__/Js/jquery-validate.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Js/register.js"></script>
</body>
</html>
